package com.gary.demo.biz;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.gary.demo.entity.Customer;
import com.gary.demo.model.param.CustomerOperateParam;
import com.gary.demo.model.param.CustomerQueryParam;

import java.util.List;

public interface CustomerBO {

    void add(CustomerOperateParam param);

    void update(CustomerOperateParam param);

    IPage<Customer> pageQuery(CustomerQueryParam param);

    List<Customer> list(String name);
}
